﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_HISTORY_TECHNIC
// * CreateDate    : 2012/4/19 16:51:19
// * Creater       : CodeSmith
// * LastChangeDate: 2012/4/19 16:51:19
// * LastChanger   : 2012/4/19 16:51:19
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdHistoryTechnicTable : TableInfo
    {
        public const string C_TableName = "PROD_HISTORY_TECHNIC";

        public const string C_ID = "ID";
        public const string C_PRODUCT_ID = "PRODUCT_ID";

        public ProdHistoryTechnicTable()
        {
            _tableName = "PROD_HISTORY_TECHNIC";
        }

        protected static ProdHistoryTechnicTable _current;
        public static ProdHistoryTechnicTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdHistoryTechnicTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_PRODUCT_ID, new ColumnInfo(C_PRODUCT_ID, "ProductId", false, typeof(string)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo PRODUCT_ID
        {
            get { return this[C_PRODUCT_ID]; }
        }



    }
}

